vendor/golang.org/x/crypto/chacha20.Cipher.counter (field)

12 uses

	vendor/golang.org/x/crypto/chacha20 (current package)
		chacha_generic.go#L40: 	counter uint32
		chacha_generic.go#L157: 	outputCounter := s.counter - uint32(s.len)/blockSize
		chacha_generic.go#L166: 	if counter < s.counter {
		chacha_generic.go#L167: 		s.len = int(s.counter-counter) * blockSize
		chacha_generic.go#L169: 		s.counter = counter
		chacha_generic.go#L217: 	if s.overflow || uint64(s.counter)+numBlocks > 1<<32 {
		chacha_generic.go#L219: 	} else if uint64(s.counter)+numBlocks == 1<<32 {
		chacha_generic.go#L236: 	if uint64(s.counter)+blocksPerBuf > 1<<32 {
		chacha_generic.go#L276: 		_, c13, c14, c15 = s.counter, s.nonce[0], s.nonce[1], s.nonce[2]
		chacha_generic.go#L293: 		fcr0, fcr4, fcr8, fcr12 := quarterRound(c0, c4, c8, s.counter)
		chacha_generic.go#L330: 		addXor(dst[48:52], src[48:52], x12, s.counter)
		chacha_generic.go#L335: 		s.counter += 1